from Modules.mod_psql import PSQLDB


class Mirrors:
    def __init__(self, path_query: str):
        self.path = path_query

    def create_mirror(self):
        PSQLDB().create_tables("""CREATE SCHEMA MIRROR""")
        with open(self.path) as f_o:
            PSQLDB().create_tables(f_o.read())
